package ldh.im.dto.base;

import java.time.LocalDateTime;

/**
 * 消息应答对象
 */
public abstract class Resp extends WeightDto {

    private LocalDateTime successDataTime;     // 消息发送成功时间
    private String localSeq;

    public Resp() {
        successDataTime = LocalDateTime.now();
    }

    public LocalDateTime getSuccessDataTime() {
        return successDataTime;
    }

    public void setSuccessDataTime(LocalDateTime successDataTime) {
        this.successDataTime = successDataTime;
    }

    @Override
    public String getLocalSeq() {
        return localSeq;
    }

    public void setLocalSeq(String localSeq) {
        this.localSeq = localSeq;
    }
}
